# @Time : 2025/4/16 16:09
# @File : test.py
# @Author : gly


import numpy as np
from sklearn.preprocessing import StandardScaler

# 生成示例数据
data_ed = np.array([[1, 2], [3, 4], [5, 6]])

# 对数据进行标准化处理
scaler = StandardScaler()
data_ed = scaler.fit_transform(data_ed)

print("标准化后的数据：")
print(data_ed)